/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title
 * @Description 委托人
 * @Package designmodel.mediatormodel
 * @date 2021/1/29 11:06 上午
 * @Copyright:学如逆水行舟，不进则退 .
 */
package designmodel.mediatormodel;

public class User {

    public User(String name) {
        this.name = name;
    }

    private String name;

    public void sendMsg(String msg) {
        ChatRoom.showMsg(this, msg);
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
